<h1>Listing descriptors</h1>

<table>
  <tr>
    <th>Description</th>
  </tr>

<% @descriptors.each do |descriptor| %>
  <tr>
    <td><%=h descriptor.description %></td>
    <td><%= link_to 'Show', descriptor %></td>
    <td><%= link_to 'Edit', edit_descriptor_path(descriptor) %></td>
    <td><%= link_to 'Destroy', descriptor, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New descriptor', new_descriptor_path %>